<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Member
 *
 * @author Zoila
 */
class Role extends AppModel{
    //put your code here
     public $hasAndBelongsToMany = array(
        'Privilege' =>
            array(
                'className'              => 'Privilege',
                'joinTable'              => 'role_privileges',
                'foreignKey'             => 'role_id',
                'associationForeignKey'  => 'privilege_i',
                'unique'                 => true,
                'conditions'             => '',
                'fields'                 => '',
                'order'                  => '',
                'limit'                  => '',
                'offset'                 => '',
                'finderQuery'            => '',
                'deleteQuery'            => '',
                'insertQuery'            => ''
            )
    );
}

?>
